package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderTimeService {

    int addOrder(Order order);

    PageResult selectOrder(QueryPageBean queryPageBean);

    int deleteOrder(int id);

    int updateOrder(Integer id,Order order);

    List<Setmeal> selectStream();

    Order selectOneOrder(int id);

}
